package cn.com.cifi.mars.constant;
/**
 * 
 *esb接收待办
 *
 */
public enum NoticeAffectedEnum {

        AREA_CHANGE("1","面积变更"),
        PANO_CHANGE("2","楼栋计划"),
        MY_CHANGE("3","明源"),
        NOS_CHANGE("4","nos"),
        DG_CHANGE("5","定稿"),

    ;

    private String key;
    private String value;

    NoticeAffectedEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }
    
    
    public static String getValueByKey(String key){
        for(NoticeAffectedEnum versionTypeEunm: NoticeAffectedEnum.values()){
            if(key.equals(versionTypeEunm.getKey())){
                return versionTypeEunm.getValue();
            }
        }
        return  null;
    }
    
    /**
     * @return the key
     */
    public String getKey() {
        return key;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

}
